package com.ferry.transport.netty.consumer;

import java.lang.annotation.*;

/**
 * Created by daiyong
 */
@Retention(RetentionPolicy.RUNTIME)  //运行时
@Target(ElementType.FIELD)            //注解class
@Documented
public @interface FerryConsumer {

	String group() default "ferry";

	String providerName() default "";

	String version() default "1.0.0";

	String serializerType() default "HESSIAN";

	String LbType() default "RANDOM";

	String InvokeType() default "SYNC";

	long timeout() default 3000L;

	int failoverRetries() default 3;

	String failStrategy() default "FAIL_FAST";
}
